<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sn" data-rule="required" class="form-control" name="row[sn]" type="text" value="{$row.sn|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appointment_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appointment_id" data-rule="required" data-source="appointment/index" class="form-control selectpage" name="row[appointment_id]" type="text" value="{$row.appointment_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_id" data-rule="required" data-source="shop/index" class="form-control selectpage" name="row[shop_id]" type="text" value="{$row.shop_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_id" data-rule="required" data-source="house/index" class="form-control selectpage" name="row[house_id]" type="text" value="{$row.house_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Skin_text')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-skin_text" class="form-control " rows="5" name="row[skin_text]" cols="50">{$row.skin_text|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Problem')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-problem" class="form-control " rows="5" name="row[problem]" cols="50">{$row.problem|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Operate_detail')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-operate_detail" class="form-control " rows="5" name="row[operate_detail]" cols="50">{$row.operate_detail|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sug_goods')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-sug_goods" class="form-control " rows="5" name="row[sug_goods]" cols="50">{$row.sug_goods|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Adviser_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-adviser_id" data-rule="required" data-source="adviser/index" class="form-control selectpage" name="row[adviser_id]" type="text" value="{$row.adviser_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Advisers_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-advisers_id" data-rule="required" data-source="advisers/index" class="form-control selectpage" name="row[advisers_id]" type="text" value="{$row.advisers_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Warehouse_operator')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-warehouse_operator" class="form-control" name="row[warehouse_operator]" type="number" value="{$row.warehouse_operator|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
